﻿using System.Windows;
using Application.Installers;
using Castle.Windsor;

namespace Application
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : System.Windows.Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            var windsorContainer = new WindsorContainer();
            windsorContainer.Install(new DefaultInstaller());
            windsorContainer.Resolve<IWindow>().Show();
        }
    }
}
